package com.zookeeper.providerticket.service;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class ConsumeUser {

    @Reference
    ITicketService iTicketService;

    public void hello(){
        String ticket = iTicketService.getTicket();
        System.out.println("买到票了："+ticket);
    }
}
